package org.colin.dictPojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.HashMap;

/**
 * <p>
 * 词条表
 * </p>
 *
 * @author LiRuiFeng
 * @since 2021-01-09
 */
public class DEntryEnh  {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 词头
     */
    private String prefix;

    /**
     * 拼音
     */
    private String pinyin;

    /**
     * hsk等级
     */
    private Integer hsk;

    /**
     * 笔画
     */
    private Integer strokes;

    /**
     * 拼音索引
     */
    private String pinyinIndex;

    /**
     * 部首索引
     */
    private String radicalIndex;

    /**
     * 语言
     */
    private Integer language;

    /**
     * 转换类型
     */
    private Integer convType;

    /**
     * 笔画顺序视频地址
     */
    private String strokeOrder;

    /**
     * 录音地址
     */
    private String recording;

    /**
     * 近义词
     */
    private String similar;

    /**
     * 反义词
     */
    private String antonym;

    /**
     * 发布状态   1：发布  2：未发布 （默认未发布）
     */
    private Integer releaseState;

    /**
     * 审核 （1：未审核 2： 审核通过  3： 审核未通过  ）
     */
    private Integer appr;


    /**
     * 介绍
     */
    private String introduce;

    /**
     * 是否删除  0：未删除   1：删除    （默认未删除）
     */
    private Boolean deleteMark;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private Integer createUser;

    /**
     * 修改人
     */
    private Integer updateUser;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    @ApiModelProperty(example="[{\"name\":\"文件名\",\"videoUrl\":\"文件路径\"},{\"name\":\"文件名\",\"videoUrl\":\"文件路径\"}]",value = "视频集合")
    private String videoLists;

    @ApiModelProperty(example="[{\"name\":\"文件名\",\"imageUrl\":\"文件路径\"},{\"name\":\"文件名\",\"imageUrl\":\"文件路径\"}]",value = "图片集合")
    private String imageLists;

    @ApiModelProperty(example="[{\"phrase\":\"组词\",\"interpretation\":\"释义\",\"interpretation\":\"释义\",\"sentence\":\"例句\",\"part\":\"词性\",\"interpretationTranslate\":\"例句  翻译\",\"pinyin\":\"拼音\"}]",value = "实例集合")
    private String phraseLists;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getPinyin() {
        return pinyin;
    }

    public void setPinyin(String pinyin) {
        this.pinyin = pinyin;
    }

    public Integer getHsk() {
        return hsk;
    }

    public void setHsk(Integer hsk) {
        this.hsk = hsk;
    }

    public Integer getStrokes() {
        return strokes;
    }

    public void setStrokes(Integer strokes) {
        this.strokes = strokes;
    }

    public String getPinyinIndex() {
        return pinyinIndex;
    }

    public void setPinyinIndex(String pinyinIndex) {
        this.pinyinIndex = pinyinIndex;
    }

    public String getRadicalIndex() {
        return radicalIndex;
    }

    public void setRadicalIndex(String radicalIndex) {
        this.radicalIndex = radicalIndex;
    }

    public Integer getLanguage() {
        return language;
    }

    public void setLanguage(Integer language) {
        this.language = language;
    }

    public Integer getConvType() {
        return convType;
    }

    public void setConvType(Integer convType) {
        this.convType = convType;
    }

    public String getStrokeOrder() {
        return strokeOrder;
    }

    public void setStrokeOrder(String strokeOrder) {
        this.strokeOrder = strokeOrder;
    }

    public String getRecording() {
        return recording;
    }

    public void setRecording(String recording) {
        this.recording = recording;
    }

    public String getSimilar() {
        return similar;
    }

    public void setSimilar(String similar) {
        this.similar = similar;
    }

    public String getAntonym() {
        return antonym;
    }

    public void setAntonym(String antonym) {
        this.antonym = antonym;
    }

    public Integer getReleaseState() {
        return releaseState;
    }

    public void setReleaseState(Integer releaseState) {
        this.releaseState = releaseState;
    }

    public Integer getAppr() {
        return appr;
    }

    public void setAppr(Integer appr) {
        this.appr = appr;
    }

    public String getIntroduce() {
        return introduce;
    }

    public void setIntroduce(String introduce) {
        this.introduce = introduce;
    }

    public Boolean getDeleteMark() {
        return deleteMark;
    }

    public void setDeleteMark(Boolean deleteMark) {
        this.deleteMark = deleteMark;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getVideoLists() {
        return videoLists;
    }

    public void setVideoLists(String videoLists) {
        this.videoLists = videoLists;
    }

    public String getImageLists() {
        return imageLists;
    }

    public void setImageLists(String imageLists) {
        this.imageLists = imageLists;
    }

    public String getPhraseLists() {
        return phraseLists;
    }

    public void setPhraseLists(String phraseLists) {
        this.phraseLists = phraseLists;
    }

    @Override
    public String toString() {
        return "DEntry{" +
        "id=" + id +
        ", prefix=" + prefix +
        ", pinyin=" + pinyin +
        ", hsk=" + hsk +
        ", strokes=" + strokes +
        ", pinyinIndex=" + pinyinIndex +
        ", radicalIndex=" + radicalIndex +
        ", language=" + language +
        ", convType=" + convType +
        ", strokeOrder=" + strokeOrder +
        ", recording=" + recording +
        ", similar=" + similar +
        ", antonym=" + antonym +
        ", releaseState=" + releaseState +
        ", introduce=" + introduce +
        ", deleteMark=" + deleteMark +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateUser=" + updateUser +
        ", updateTime=" + updateTime +
        "}";
    }
}
